<script setup lang="ts">

import Index from '@/views/Index.vue'
</script>

<template>
  <div class="root_container">
    <video  class="background-video" autoplay muted playsinline loop >
<!--      <source src="https://public.ysjf.com/mediastorm/banner/5294c11cb3ed6be81d6f855f42b0bfb8.webm" type="video/webm" />-->
      <source src="/src/assets/img/88.mp4" type="video/mp4" />
    </video>
    <Index></Index>
    <RouterView/>
  </div>

</template>

<style scoped>
.root_container {
  width: 100%;
  height: 100vh;
  position: relative; /* 定位参考点 */
  overflow: hidden;
}
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 覆盖容器 */
  z-index: -999; /* 置于底层 */
}
</style>